package com.dgut.forum.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("文章回复")
public class ArticleReply {
    @ApiModelProperty("回复id")
    private Long id;
    @ApiModelProperty("回复所属文章id")
    private Long articleId;
    @ApiModelProperty("发布回复作者id")
    private Long postUserId;
    @ApiModelProperty("回复回复(楼中楼)id")
    private Long replyId;
    @ApiModelProperty("楼中楼作者id")
    private Long replyUserId;
    @ApiModelProperty("回复正文")
    private String content;
    @ApiModelProperty("回复点赞数")
    private Integer likeCount;
    @ApiModelProperty("回复状态")
    private Byte state;
    @ApiModelProperty("回复删除状态")
    private Byte deleteState;
    @ApiModelProperty("回复发布时间")
    private Date createTime;
    @ApiModelProperty("回复最新一次更新时间")
    private Date updateTime;

    private User user;
}